﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp1
{
    internal class ReceiveDataFromCommunicationEndpoint
    {
        private void ReceiveDataFromComEndpoint(string receivedData)
        {
            // 解析接收到的数据，将其转换为适合绑定的数据格式
            // 假设接收到的数据是逗号分隔的字符串 "value1,value2"
            string[] dataParts = receivedData.Split(',');

            // 通过调用 UpdateDataGridView 方法来更新表格
            //UpdatedGVdGVMarkPoint(dataParts[0], int.Parse(dataParts[1]));
        }

    }
}
